﻿using System.Collections.ObjectModel;
using System.Windows;
using PostProcGUI.ModelView;
using PostProcGUI.ModelView.ForModel;
using PostProcGUI.View;

namespace PostProcGUI
{
    /// <summary>
    /// Логика взаимодействия для App.xaml
    /// </summary>
    public partial class App
    {
        public static readonly ObservableCollection<LogViewModel> Logs = new ObservableCollection<LogViewModel>();

        private void OnStartup(object sender, StartupEventArgs e)
        {
            var viewModel = new MainWindowViewModel();
            var view = new MainWindowView {DataContext = viewModel};
            view.Show();
        }
    }
}
